#ifndef SOCIALBOX_MACROS_HPP
#define SOCIALBOX_MACROS_HPP

// A macro to disallow the copy constructor and operator= functions
// This should be used in the private: declarations for a class
// Indeed without this macro used in the pricate: section of the class 
// declaration the following code will pass:
// MyObj a;
// MyObj b(a);
// even if we have not explicitely defined a copy constructor
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
  TypeName(const TypeName&);               \
  void operator=(const TypeName&)
  
#endif //SOCIALBOX_MACROS_HPP
